package net.guerlab.smart.platform.user.web.properties;

import lombok.Getter;
import lombok.Setter;

/**
 * 用户登录失败配置
 *
 * @author guer
 */
@Setter
@Getter
public class UserLoginFailProperties {

    /**
     * 启用
     */
    private boolean enable = true;

    /**
     * 登录失败(x)次后锁定
     */
    private int failLimit = 5;

    /**
     * 锁定时间,单位秒
     */
    private long lockTime = 900;

    /**
     * 强制锁定用户
     */
    private boolean forceLockUser = false;
}
